/*
package utils.ui.adapter;

import java.util.List;


import android.annotation.SuppressLint;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;

import com.ygk.bluepath.R;

@SuppressLint({ "NewApi", "InflateParams", "HandlerLeak" })
public class HAdapter extends BaseAdapter {
	private Context mContext;
	private List<BeanH> list;

	public HAdapter(Context mContext, List<BeanH> list2) {
		super();
		this.mContext = mContext;
		this.list = list2;

	}

	@Override
	public int getCount() {
		// TODO Auto-generated method stub
		return list.size();
	}

	@Override
	public Object getItem(int position) {
		// TODO Auto-generated method stub
		return list.get(position);
	}

	@Override
	public long getItemId(int position) {
		// TODO Auto-generated method stub
		return position;
	}


	@Override
	public View getView(final int position, View view, ViewGroup parent) {
		// TODO Auto-generated method stub

		ViewHodler hodler;
		if (view == null) {
			hodler = new ViewHodler();
			view = LayoutInflater.from(mContext).inflate(
					R.layout.item, null);
			
			view.setTag(hodler);
		} else {
			hodler = (ViewHodler) view.getTag();
		}
		
	
	
		
		return view;
	}

	class ViewHodler {
		ImageView  pic;
		

	}
}
*/
